#include "RAT_CustomVertex.h"

namespace RAT_ENGINE
{
	void RAT_CustomVertex::PrintIO() const
	{
		std::cout << "Position: (" << position.x << ", " << position.y << ", " << position.z << ") RHW: " << rhw;

		if (colour == BLACK)
		{
			std::cout << " Colour: Black";
		}
		else if (colour == BLUE)
		{
			std::cout << " Colour: Blue"; 
		}
		else if (colour == BROWN)
		{
			std::cout << " Colour: Brown";
		}
		else if (colour == GREEN)
		{
			std::cout << " Colour: Green";
		}
		else if (colour == GREY)
		{
			std::cout << " Colour: Grey"; 
		}
		else if (colour == ORANGE)
		{
			std::cout << " Colour: Orange";
		}
		else if (colour == PURPLE)
		{
			std::cout << " Colour: Purple";
		}
		else if (colour == RED)
		{
			std::cout << " Colour: Red";
		}
		else if (colour == WHITE)
		{
			std::cout << " Colour: White";
		}
		else if (colour == YELLOW)
		{
			std::cout << " Colour: Yellow";
		}
		else
		{
			std::cout << " Colour: Error";
		}
		std::cout << std::endl;
	}
}